package live.common;

public class ErrorMeg {

	public static String returnError(int errorCode) {
		String result="";
		switch (errorCode) {
		case 0001:
			result="支付失败";
			break;
		case 9:
			result="支付失败，发货未成功 ";
			break;
		case 999:
			result="未开通直冲功能";
			break;
		case 1000:
			result="下单失败，未扣款，重新提交订单";
			break;
		case 1001:
			result="传入参数不完整";
			break;
		case 1002:
			result="验证摘要串验证失败";
			break;
		case 1022:
			result="充值号码格式错误 ";
			break;
		case 1004:
			result="代理商验证失败";
			break;
		case 1005:
			result="没有对应充值产品，号码与选择产品不符";
			break;
		case 1006:
			result="系统异常，请稍后重试";
			break;
		case 1007:
			result="账户余额不足";
			break;
		case 1008:
			result="此产品超出当天限额 ，请联系业务人员";
			break;
		case 1009:
			result="没有对应订单";
			break;
		case 1010:
			result="产品与手机号不匹配";
			break;
		case 1011:
			result="定单号不允许重复";
			break;
		case 1012:
			result="IP地址不符合要求";
			break;
		case 1013:
			result="运营商系统升级，暂不能充值";
			break;
		case 1015:
			result="无法查到对应号段 ";
			break;
		case 1016:
			result="交易密码验证错误，请联系管理员 ";
			break;
		case 1017:
			result="同一手机号在10s之内不允许再次充值";
			break;
		case 0:
			result="充值成功 ";
			break;
		}
		return result;
	}
}
